<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en"><head>
<meta charset="utf-8">
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Le styles -->
<link href="__HOME_CSS__/sport/css/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon">
<link href="__HOME_CSS__/sport/css/sporthg.css" media="screen" rel="stylesheet" type="text/css">
<link href="__HOME_CSS__/sport/css/thickbox.css" media="screen" rel="stylesheet" type="text/css">
<!-- Scripts -->
<script type="text/javascript" src="__HOME_JS__/sport/js/jquery.min.js"></script>
<script type="text/javascript" src="__HOME_JS__/sport/js/common.js"></script>
<script type="text/javascript" src="__HOME_JS__/sport/js/sport.js"></script>
<script type="text/javascript" src="__HOME_JS__/sport/js/header.js"></script>
<script type="text/javascript" src="__HOME_JS__/sport/js/thickbox.js"></script>
</head>
<?php if($order['match_id']>0){ ?>
<body style="background-color:#e7eef6;">
<script>
jQuery(function(){
  var newHeight =$("#orderBox").height()+10;
  
  parent.frameHeight('orderFrame',newHeight);
  $(".gold").focus();
})
</script>
<div id="orderBox">
<p>可用额度：{$info.member_money}</p>
<form name="orderForm" id="orderForm" action="/index.php/sport/doorder" method="post" onsubmit="return orderSubmit()">
<h6>足球-滚球</h6>
  <div class="ord">    
      <p class="league"><?php ?></p>      
      <p><?php echo $order['home_team']?><em> VS </em><?php echo $order['away_team']?></p>  
      <p><?php echo $order['wanfa']?> <?php echo $order['odds_name']?> @ <span class="odds"><?php echo $order['odds']?></span></p>          
      <p>下注金额：<input type="text" name="gold" size="5" maxlength="8" onkeypress="return CheckKey()" onkeyup="changeWin(this,{$odds_type})" class="gold"></p>
      <p>可赢金额：<font class="win" id="canWin">0</font></p>
  </div>
  <div class="tb_confirm">
    <input type="hidden" name="match_id" value="<?php echo $order['match_id']?>">
    <input type="hidden" name="stype" value="<?php echo $order['stype']?>">
    <input type="hidden" name="type" value="<?php echo $order['type']?>">
    <input type="hidden" name="btype" value="<?php echo $order['btype']?>">    
   <!--  <input type="hidden" name="wanfa" value="<?php echo $order['wanfa']?>">    --> 
    <input type="button" name="close" value="取消交易" onclick="cancelOrder()" class="no">
    <span id="submit"><input type="submit" id="ordersubmit" name="submit" value="确定交易" class="yes"></span>
  </div>
  <div class="remark">
      <p>自动接受最新赔率</p>
      <p>最低限额：20</p>
      <p>单注限额：100000</p>
      <p>单场最高：200000</p>
  </div>
</form>
</div>            

</body>
<?php }else{?>
<body class="bet_info" style="margin:0;">
    <div id="pls_bet" name="pls_bet" style="background-color: rgb(227, 207, 170); left: 0px; top: 0px;">
                <img src="__HOME_CSS__/sport/images/order_none.jpg" width="216" height="22">
                <div style="width:216px; height:63px; text-align:center; padding-top:16px;">
                    <font style="font:0.75em Arial, Helvetica, sans-serif; font-weight:bold;">点击赔率便可将<br>选项加到交易单里。</font>
                </div>
            </div>
<script>
jQuery(function(){
	parent.frameHeight('orderFrame','150');
})
</script>  


</body>
<?php }?>

</html>